package com.cowain.monitor.service;

import com.baomidou.mybatisplus.service.IService;
import com.cowain.monitor.entity.ErpSoEntity;
import com.cowain.monitor.entity.ErpSofEntity;

import java.util.List;

/**
 *  
 *  * @author 冬暖
 *  * @projectName pms-monitor
 *  * @title     ErpSoService   
 *  * @package    com.cowain.monitor.service  
 *  * @description    ERP销售订单       
 *  * @date   2020/7/27 14:20  
 *  * @version V1.0.0
 *  
 */
public interface ErpSofService extends IService<ErpSofEntity> {

    /**
     * 查询预测订单
     * @return 列表
     */
    List<ErpSofEntity> findApplicationList();

    /**
     * 修改预测订单状态
     * @param erpSofEntities 预测订单列表
     */
    void updateApplicationOrder(List<ErpSofEntity> erpSofEntities);
    /**
     * 批量插入
     * @param erpSoEntities 订单列表
     */
    void insertPmsOrderInfo(List<ErpSofEntity> erpSoEntities,Long type);
}
